//
//  Man.m
//  07-ARC代码编写
//
//  Created by 曹曹 on 16/7/12.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "Man.h"

@implementation Man
// ARC下不需要if判断
- (void)setObjc:(NSObject *)objc {
    _objc = objc;
}
#pragma mark - NSString比较特殊
- (void)setString:(NSString *)string {
    _string = [string copy];
}
- (void)setCount:(NSInteger)count {
    _count = count;
}
- (void)setDelegate:(id<NSObject>)delegate {
    _delegate = delegate;
}
// ARC下可以写dealloc方法, 不能写[super dealloc];
- (void)dealloc {
    
}
@end
